View Javadoc
1 2 // This class is generated by XDoclet SDK (XGG). Do not edit! 3 package xdoclet.sdk.xtag.migrator; 4 5 /*** 6 * <p>XML element: <b><default/></b></p>. 7 * This element exists in the following versions: 8 * <ul> 9 * <li>xtags_1_1.dtd</li> 10 * </ul> 11 * 12 * @bean.class name="default" 13 * 14 * @author <a href="http://xdoclet.sf.net/">XDoclet</a> 15 */ 16 public final class Xmldefault extends xdoclet.sdk.xgg.XGGPojo { 17 /*** 18 * Default constructor. Should not be called explicitly. It's available 19 * only to be able to convert xml into beans with Betwixt. 20 */ 21 public Xmldefault() { 22 } 23 24 /*** 25 * Constructor. Should only be called if the current version is of the following: 26 * <ul> 27 * <li>xtags_1_1.dtd</li> 28 * </ul> 29 * @param parent the parent element 30 * @throws java.lang.IllegalStateException if this constructor is illegal 31 * with the current version. 32 */ 33 public Xmldefault( OptionSet parent ) throws java.lang.IllegalStateException { 34 // Check that it's ok to call this constructor. 35 checkVersion( new String[] { "xtags_1_1.dtd" } ); 36 parent.setXmldefault( this ); 37 } 38 /*** 39 * Constructor. Should only be called if the current version is of the following: 40 * <ul> 41 * <li>xtags_1_1.dtd</li> 42 * </ul> 43 * @param parent the parent element 44 * @throws java.lang.IllegalStateException if this constructor is illegal 45 * with the current version. 46 */ 47 public Xmldefault( Parameter parent ) throws java.lang.IllegalStateException { 48 // Check that it's ok to call this constructor. 49 checkVersion( new String[] { "xtags_1_1.dtd" } ); 50 parent.setXmldefault( this ); 51 } 52 53 54 public final void setPcData( final java.lang.String pcData ) { 55 checkValue(pcData, ".*"); 56 57 _pcData = pcData; 58 } 59 60 /*** 61 * @bean.property 62 * @bean.attribute name="betwixt.text" value="true" 63 */ 64 public final java.lang.String getPcData() { 65 return _pcData; 66 } 67 68 private java.lang.String _pcData; 69 }

This page was automatically generated by Maven